package com.njtoyo.taxi.admin.mapper.master.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.library.Const;
import com.njtoyo.taxi.admin.mapper.master.entity.DeviceReport;
import com.njtoyo.taxi.admin.rest.pojo.dto.DeviceReportParamDto;
import com.njtoyo.taxi.admin.rest.presenter.business.DeviceReportPresenter;
import com.njtoyo.taxi.admin.rest.wrapper.business.device.DeviceReportQueryWrapper;
import org.springframework.stereotype.Repository;


@Repository
@DS(Const.PRIMARY_DS)
public interface DeviceReportMapper extends BaseMapper<DeviceReport> {

    void updateDeviceReport(DeviceReportParamDto dto);

    Page<DeviceReportPresenter> queryList(DeviceReportQueryWrapper queryWrapper);
}
